package net.wanho.shop.mapper;

import net.wanho.shop.entity.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【goods(商品表)】的数据库操作Mapper
* @createDate 2025-09-24 09:07:39
* @Entity net.wanho.shop.entity.Goods
*/
@Mapper
public interface GoodsMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);

    List<Goods> selectList(Goods goods);

    void deleteBatch(List<Integer> ids);
}
